home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / man / cat3 / XmTextGetMaxLength.z / XmTextGetMaxLength
Encoding:
Text File  |  2003-11-18  |  1.8 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmTTTTeeeexxxxttttGGGGeeeettttMMMMaaaaxxxxLLLLeeeennnnggggtttthhhh((((3333XXXX))))    UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV    XXXXmmmmTTTTeeeexxxxttttGGGGeeeettttMMMMaaaaxxxxLLLLeeeennnnggggtttthhhh((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       _X_m_T_e_x_t_G_e_t_M_a_x_L_e_n_g_t_h - A Text function that accesses the value
  10.       of the current maximum allowable length of a text string
  11.       entered from the keyboard
  12.  
  13.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  14.       #include <Xm/Text.h>
  15.  
  16.       int XmTextGetMaxLength (wwwwiiiiddddggggeeeetttt)
  17.            _W_i_d_g_e_t     wwwwiiiiddddggggeeeetttt;
  18.  
  19.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  20.       _X_m_T_e_x_t_G_e_t_M_a_x_L_e_n_g_t_h accesses the value    of the current maximum
  21.       allowable length of the text string in the Text widget
  22.       entered from the keyboard.  The maximum allowable length
  23.       prevents the user from entering a text string    larger than
  24.       this limit.
  25.  
  26.       wwwwiiiiddddggggeeeetttt
  27.            Specifies the Text widget ID
  28.  
  29.       For a    complete definition of Text and    its associated
  30.       resources, see _X_m_T_e_x_t(_3_X).
  31.  
  32.      RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
  33.       Returns the integer value that indicates the string's
  34.       maximum allowable length that    can be entered from the
  35.       keyboard.
  36.  
  37.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  38.       _X_m_T_e_x_t(_3_X).
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 11/11/03)
  64.  
  65.  
  66.  
  67.